package com.bosssoft.user.permission.center.serve;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @className: WebApplication
 * @description: 解决什么问题：
 * 演示线程池的正确使用
 * 主要方法：
 * methodxx 使用 ThreadPoolExecutor创建线程进行任务操作
 * 注意事项：
 * 例如：该类需要从容器获取不可以new
 * @author: lanyukai
 * @date: 2024/6/11 11:55
 * @since 1.0
 **/
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
@MapperScan("com.bosssoft.user.permission.center.serve.dao.mapper")
@ComponentScan({"com.bosssoft","common"})
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class, args);
    }
}
